<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-duties-statistic" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
		<p>
			<span class="badge">提示</span>
			在此你可以对<span class="label-info"><strong>职能事项统计信息</strong></span>进行查询!
		</p>
	</div>
		
    <div class="tb-list" style="padding:2px 0">
		<table cellpadding="0" cellspacing="0"> 
			<tr>
				<td style="padding-left:2px" class="list-btn">
			
				</td>
			</tr>
		</table>
	</div>
	<table class="easyui-datagrid dg-list"  
		data-options="rownumbers:true,
		animate: true,							
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',					
		fitColumns: true,
		checkOnSelect:true,
		selectOnCheck:true,
		width : 'auto',
		pagination : true">
		
		<thead>						
			<tr>				
				<th field="dept_name" width="60" align="center">科室名称</th>
				<th field="sumary_matter" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">超限事项</th>
				<th field="temp_medical" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">紧急用药</th>
				<th field="new_supply" width="40" align="center" 
				data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">新进耗材</th>
				<th field="medical_supply" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">医用耗材</th>
				<th field="normal_buy" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">日常药品</th>
				
				
				<th field="hospital_modelshow" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">形象宣传</th>		
				<th field="office_buy" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">行政物资</th>
				<th field="department_buy" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">科室采购</th>	
				
								
				<th field="medium_project" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">中型基建项目</th>
				<th field="small_project" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">小型基建维修</th>
				<th field="construct_repair" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">基建维修</th>
				
				<th field="high_value" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">高值耗材</th>
				<th field="five_hundred" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">五百耗材</th>				
					
				<th field="depart_plan" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">科室付款计划</th>
				
				<th field="senior_positionengage" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">职称聘任</th>					
				<th field="office_leave" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">行政请假</th>
				<th field="worker_leave" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">职工请假</th>
				
				<th field="device" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">大型设备</th>
				<th field="medium_equip" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">小型设备</th>	
				<th field="logistic_device" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				"
				>后勤设备</th>			
				
				<th field="equip_repair" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">维修配件</th>			
				
							
				
				
				<th field="permanent_destory" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">资产报废</th>					
				<th field="permanent_alloc" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">资产调拨</th>							
			</tr>                         
		</thead>
		
	</table>
<script>
requirejs(['listPageModule','dutiesStatistic','domReady!'],function(dept,dutiesStatistic,doc){
	dept.init({doc:doc,
		rootId:'panel-duties-statistic',				
		subSystemCode:'duties',
		cellClick:dutiesStatistic.clickCell,
		rowClick:dutiesStatistic.clickRow,
		moduleCode:'dutiesStatistic'
	});
});	

</script>

